#ifndef DDC_BEHAVIOR_H_INCLUDED
#define DDC_BEHAVIOR_H_INCLUDED

class DDC_GameObject;

class DDC_Behavior {
protected:
    DDC_GameObject *_attachedGameObject;

public:
    virtual void OnStart() {}
    virtual void OnDetsory() {}
    virtual void Update() {}

    void GetComponentByType();

    void __AttachGameObject(DDC_GameObject *gameObject) {
        _attachedGameObject = gameObject;
    }
};

#endif // DDC_BEHAVIOR_H_INCLUDED
